class OsnNotifyDelAdmin: OsnNotifyContent {
    var groupId = ""
    var delMembers:[String] = []

    override init(){
        super.init()
        contentType = OsnMessageContentType.notify_kickoff_admin
    }
    override func toJson() ->[String:Any] {
        var json = super.toJson()
        json["type"] = "notify_kickoff_admin"
        json["groupId"] = groupId
        json["delMembers"] = delMembers
        return json
    }
    static func fromJson(_ data:[String:Any])->OsnNotifyDelAdmin{
        let c = OsnNotifyDelAdmin()
        super.fromJson(c, data)
        c.groupId = data["groupId"] as? String ?? ""
        c.delMembers = data["delMembers"] as? [String] ?? []
        return c
    }

}
